package com.learn.file;

import java.io.FileOutputStream;

public class TestFileOutputStream {
    public static void main(String[] args) throws Exception {

        FileOutputStream  fos = new FileOutputStream("D:\\software\\io\\test.txt");
//        fos.write(97);
//        fos.write(99);
//        fos.write(100);
        byte[] bytes = "老婆她要我叼爆她的屁眼...".getBytes();
        fos.write(bytes,2,3);
        fos.close();

        System.out.println("hello");
    }
}
